package com.mugcode.hosp.repository;

import com.mugcode.entity.model.hosp.Hospital;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * projectName: appointment
 * <p>
 * author: Mu
 * time: 2023/5/28 7:58
 * description:
 */
@Repository
public interface HospitalRepository extends MongoRepository<Hospital, String> {
    //判断是否存在数据
    Hospital getHospitalByHoscode(String hoscode);
}
